//#ifdef PROJECT_ENV_MOCK
const ENV = "mock"
// #endif
//#ifdef PROJECT_ENV_LOCAL
const ENV = "local"
// #endif
//#ifdef PROJECT_ENV_DEV
const ENV = "dev"
// #endif
//#ifdef PROJECT_ENV_PRO
const ENV = "pro"
// #endif
//#ifdef PROJECT_ENV_STAGE
const ENV = "stage"
// #endif

var PROJECT_DOMAIN = "";
var PROJECT_API_BASE_URL = "";
var API_MOCK = false;
var DEBUG = false;

switch(ENV){
  case "mock":
    API_MOCK = true;
    DEBUG = true;
    break;
  case "local":
    PROJECT_DOMAIN = "http://qmm.think.com";
    PROJECT_API_BASE_URL = PROJECT_DOMAIN + "/";
    DEBUG = true;
    break;
  case "dev":
    PROJECT_DOMAIN = "";
    PROJECT_API_BASE_URL = PROJECT_DOMAIN + "/";
    DEBUG = true;
    break;
  case "stage":
    PROJECT_DOMAIN = "http://think.unifyadmin.com";
    PROJECT_API_BASE_URL = PROJECT_DOMAIN + "/";
    DEBUG = true;
    break;
  case "pro":
    PROJECT_DOMAIN = "";
    PROJECT_API_BASE_URL = PROJECT_DOMAIN + "/";
    break;
}


export default {
  ENV,
  PROJECT_DOMAIN,
  PROJECT_API_BASE_URL,
  API_MOCK,
  DEBUG
}
